gSAM = {}

GSAMOD = 1

if SERVER then
	Msg("=gSAM: Started Loading Server Side Files...")
	for k,v in pairs(file.FindInLua("gSAM/Server/*lua"))
		include("gSAM/Server/"..v)
		Msg("==gSAM: Loaded "..v..
	end
	Msg("=gSAM: Finished Loading Server Side Files...")

	gSAM.Settings = {}
	gSAM.Settings.PP = {}
	
	gSAM.Settings.PropProtection = true
	gSAM.Settings.TimeSpent = true
	gSAM.Settings.Banner = true
	gSAM.Settings.Adverts = true
	gSAM.Settings.Adverts_Time = 180
	gSAM.Settings.ToolRestrict = true
	gSAM.Settings.ChatPrefix = "/"
	gSAM.Settings.MOTD = true
	
	gSAM.Settings.PP.PP_Buddys = true
	gSAM.Settings.PP.PP_AutoRemove = true
	gSAM.Settings.PP.PP_AutoRemoveDelay = 180
end

if CLIENT then
	Msg("=gSAM: Started Loading Client Side Files...")
	for k,v in pairs(file.FindInLua("gSAM/Client/*lua"))
		include("gSAM/Client/"..v)
		Msg("==gSAM: Loaded "..v)
	end
	Msg("=gSAM: Finished Loading Client Side Files...")
end
